﻿@model  Backend.JYD.Model.PageInfo<Backend.JYD.Model.Bid.InviteInfo>
@using Backend.JYD.Common
@{
    ViewBag.Title = "投资项目";
}
<style>
.tab{border-bottom:4px solid #F5812C;height:44px}
.tab .tab_nav li{ font-size:20px;padding:0 36px;color:#fff;float:left;background-color:#F5812C;height:44px;line-height:43px}
.invitedata{width:100%;background-color:#fff;border:1px solid #DADADA}
.invitedata th{background-color:#F7F7F7;border-bottom:1px solid #DADADA;font-size:12px;height:38px}
.invitedata td{background-color:#fff;padding:24px 10px; text-align:center}
</style>
<div class='yanzheng'>
    <div  class='w980'>
        <div class='tab'>
            <ul class='tab_nav'><li>投资项目</li></ul>
        </div>
        <table class='invitedata' cellspacing="0" cellpadding="0" border="0">
            <tr><th>客户编号</th><th>金额</th><th>进度</th></tr>
           @foreach(var item in Model.PageList){
             
               var endrate = (int)((item.BidAmount.HasValue?item.BidAmount:0)/item.LoanMoney*100);
                <tr><td>@item.CustNo</td><td>￥  @String.Format("{0:F}",item.LoanMoney)</td>
                    <td>%@endrate</td>
                </tr>    
           }   
             
        </table>
        <div class='pagination'>@Html.MultiPager(Model.PageIndex,Model.PageCount,10)</div>
    </div>
</div>

